package cn.ronghuanet.auth.service.impl;

import cn.ronghuanet.auth.domain.Permission;
import cn.ronghuanet.auth.mapper.PermissionMapper;
import cn.ronghuanet.auth.service.IPermissionService;
import cn.ronghuanet.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yaosang
 * @since 2024-04-03
 */
@Service
public class PermissionServiceImpl extends BaseServiceImpl<Permission> implements IPermissionService {

    @Autowired
    private PermissionMapper permissionMapper;
    @Override
    public List<Permission> queryTree() {
        return permissionMapper.queryTree();
    }
}
